//相当于引入了 vue-router的js
import VueRouter from 'vue-router'

import TeacherList from '@/views/teacher/teacher_list.vue'
import StudnetList from '@/views/stu/stu_list.vue'

let router = new VueRouter({
	routes: [{
		path: '/teacher',
		component: TeacherList,

	} ,{
		path: '/student',
		component: StudnetList
	},
	{
		path:'/channe',
		component: () => import('@/views/channel/list')
	}
	
	]
})

//想让外部能使用我js内部定义的对象 需要export
export default router